package com.dhcc.bpm.modules.common.mapper;

import com.dhcc.bpm.modules.common.entity.Plupload;
import com.dhcc.bpm.modules.common.vo.PluploadVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;

/**
 * @ClassName PluploadMapper
 * @Description  公共模块表 Mapper 接口
 * @Author xiafayu
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface PluploadMapper extends BaseMapper<Plupload> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param plupload
	 * @return
	 */
	List<PluploadVO> selectPluploadPage(IPage page, PluploadVO plupload);

	/**
	* @author: 陈泽
	* @date: 2019/12/10 16:43
	* @description: 插入并返回主键
	* @param: [plupload]
	* @return: java.lang.Integer
	*/
	Integer insertAndSelectId(Plupload plupload);

	/**
	 * @Description TODO
	 * @Author xiafayu
	 * @Date 2020/5/21 11:53
	 * @param url
	 * @return com.dhcc.bpm.modules.common.entity.Plupload
	 * @throws
	 **/
	Plupload selectByUrl(String url);
}
